User 23ba1704ca
07-11-2013 04:47:54
Hello
We have implemented structure search using the AXIS2 web service. One of the major downsides is, this web service only runs on Internet Explorer browser. We are planning to migrate to REST based web service. I wanted to confirm that there are no issues regarding any browser based dependency with this web service.
thanks
Ashish Dugar
ChemAxon e07e2a364b
11-11-2013 14:04:42
Dear Ashish Dugar,
The REST web services contains the http headers needed for cross site interaction:
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: X-Request,X-Requested-With,Content-Type,Host,User-Agent,Accept,Accept-Language,Accept-Encoding,Accept-Charset,Keep-Alive,Connection,Referer,Origin,DNT
Access-Control-Allow-Methods: *
(The AXIS2 web services are standard SOAP services and they not contains the headers needed by browsers for cross site interaction by default, but you are free to write an appropriate filter which adds such header information. I guess such filter class shouldn't be more than dozen of lines of code)
Gabor